<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>首页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div  id="content">
            <section class="content-header">
                <h1>
                    <i class="fa fa-jpy"></i>
                    <strong>普通价格单管理</strong>
                </h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-home "></i>Home</a></li>
                    <li>报价管理</li>
                    <li class="active">普通价格单管理</li>
                </ol>
            </section>
            <!-- Main content -->
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="box box-info">
                            <div class="box-header with-border">
                                <i class="fa fa-th-list"></i>
                                <h4 class="box-title">价格单查询</h4>
                            </div>
                            <div class="box-body">
                            <div class="form-inline">
                                	<div class="input-group">
                                		<input type="text" class="hidden" id="userId" name="userId" th:value="${userId}"/>
                                	    <input type="text" class="hidden" id="role" name="role" th:value="${role}"/>
										<input type="text" class="form-control" id="keyword"  placeholder="Search..." />
										<span class="input-group-btn">
											<button th:if="${module.canRead==true}" type="button" id="search-btn" class="btn btn-info searchBtn">查询</button>
                                            <button th:if="${module.canRead==true}" type="button" id="reset-btn" class="btn btn-info resetBtn">撤消</button>
										</span>
									</div>
									<button th:if="${module.canRead==true}" type="button" class="btn btn-sm pull-right btn-info seeBtn">查看详情</button>
									<!-- <button th:if="${module.canRead==true}" type="button" class="btn btn-sm pull-right btn-info download">下载附件</button> -->
	                               <button th:if="${module.canModify}==true" type="button" class="btn btn-sm pull-right btn-info app-btn-gen">生成对外报价单</button>
								   <button th:if="${module.canModify}==true" type="button" class="btn btn-sm pull-right btn-info app-btn-genbj">生成备件报价单</button>
								   <button th:if="${module.canModify}==true" type="button" class="btn btn-sm pull-right btn-info app-btn-genbjht">生成备件合同(对客户)</button>
								   <button th:if="${module.canModify}==true" type="button" class="btn btn-info btn-sm pull-right cancelBtn">收回归档</button>
	                               <button th:if="${module.canModify}==true" type="button" class="btn btn-sm pull-right btn-info cancelAudit">收回流程</button>
	                               <button th:if="${module.canAdd}==true" type="button" class="btn btn-sm pull-right btn-info pasteAdd">复制新增</button>
	                               <button th:if="${module.canRead==true}" type="button" class="btn btn-sm btn-info pull-right btn-audit-nodes" >查看审批</button>
	                               <button th:if="${module.canModify}==true" type="button" class="btn btn-sm pull-right btn-info app-btn-audit">发起审批</button>
	                               <button th:if="${module.canDelete}==true" type="button" class="btn btn-info btn-sm pull-right delBtn" >删除</button>
								   <button th:if="${module.canModify}==true" type="button" class="btn btn-info btn-sm pull-right editBtn">编辑</button>
								   <button th:if="${module.canModify}==true" type="button" class="btn btn-info btn-sm pull-right submitBtn">提交归档</button>
								   <button th:if="${module.canAdd==true}"  class="btn btn-info btn-sm pull-right addBtn" >添加</button>
								</div>
                            </div>
                            <div class="box box-body">
                <table id="dataTable" class="mytable dataTable table-bordered text-center table-striped table-hover display"  cellspacing="0" width="100%">
                                    <thead>
                                        <tr>
                                       		<th width="4%">序号</th>
                                          	<th width="5%"><input type="checkbox" id="checkAll"/></th>
                							<th width="12%">项目名称</th>
                							<th width="12%">客户名称</th>
                							<th width="6%">当前状态</th>
                							<th width="10%">总价</th>
                							<th width="8%">创建时间</th>
                							<th width="38%">备注</th>
                							<th width="5%">附件数</th>
                                        </tr>
                                    </thead>
                                    <tbody> 
               						</tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
	<!--查看审批弹窗 -->
	<div id="modal-audit-nodes" class="modal fade" tabindex="-1" role="dialog">
	    <div class="modal-dialog" role="document">
	        <div id="modal-audit-nodes-content"  class="modal-content">
	           
	        </div>        <!-- /.modal-content -->
	    </div>    <!-- /.modal-dialog -->
	</div><!-- /.modal -->
   <!--查看审批弹窗结束 -->       
    <script th:src="@{/quote/quoteindex.js}"></script>
    </div>
</body>
</html>